/*================================================================
*   Copyright (C) 2017 LiuYao. All rights reserved.
*   
*   Filename : exp_factory.h
*   Author : LiuYao
*   Date : 2017-12-28
*   Description : 
*
================================================================*/
#ifndef _EXP_FACTORY_H
#define _EXP_FACTORY_H

#include "factory.h"
#include "../graph/ops/exp_op.h"
#include "../graph/node.h"
#include "../graph/ops/divide_op.h"

class ExpFactory : public Factory {
    private:
        Node* node_;

        Node* hook() { return new Exp(node_); }
    public:
        ExpFactory(Node* node) : node_(node) {}
};

#endif
